﻿using System;

namespace MessageSystem.Managed.Rpc
{
    public class RpcBinder
    {
        private RpcSessionService  _service;

        public RpcBinder(RpcSessionService svc)
        {
            _service = svc;
        }

        public void UnBind()
        {
            if (null != _service)
            {
                _service.UnBind();
                _service = null;
            }            
        }
    }
}
